package org.microservice.common.bean;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.microservice.common.base.AbstractAuditingEntity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author admin
 * @since 2018-09-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_post")
public class PostVo extends AbstractAuditingEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    /**
     * 职务名称
     */
    private String name;

    /**
     * 职务代码
     */
    private String code;

    /**
     * 权重
     */
    private int weight;


    /**
     * 是否可用
     */
    private boolean disabled;




}
